<template>
  <div>
    <h2>我是count组件</h2>
    <p>count:{{count}}</p>
    <p>img:{{img}}</p>
    <p>title:{{title}}</p>
    <p>otherTitle:{{otherTitle}}</p>
  </div>
</template>

<script>
export default {
  name: 'Count',
  data(){
    return{
      count1:this.count,
    }
  },
  props:{
    count:Number,
    img:String,
    title:String,
    otherTitle:{
      type:String,
      default:"暂无...",
    }
  },
  methods:{}
}
</script>
<style scoped>
.count {
  background-color: pink;
}
</style>